<template>
  <div class="main">
    <router-link to="ypml" class="module_menu">
      <span><img src="../../assets/images/icon/icon-ypcx.png"/></span>
      <label>药品目录查询</label>
    </router-link>
    <router-link to="zlcx" class="module_menu">
      <span><img src="../../assets/images/icon/icon-zlcx.png"/></span>
      <label>诊疗目录查询</label>
    </router-link>
    <router-link to="facility" class="module_menu">
      <span><img src="../../assets/images/icon/icon-zlcx.png"/></span>
      <label>医疗服务设施目录查询</label>
    </router-link>
  </div>
</template>

<script>
  document.body.style.background = "#F2F2F2";
</script>

<style lang="less" scoped>
  img {
    width: 100%;
    height: 100%;
  }

  .module_menu {
    display: block;
    width: 92%;
    height: 0.5rem;
    margin: 0.15rem auto 0;
    background: #FFFFFF url("../../assets/images/icon/icon-dhjt.png") no-repeat right 5% center;
    background-size: 0.18rem;
    border: 0.01rem solid #DFDFDF;
    border-radius: 0.05rem;
    text-decoration: none;
    span {
      display: inline-block;
      height: 0.33rem;
      width: 0.33rem;
      border-radius: 50%;
      margin: 0.08rem 0.1rem;
    }
    label {
      display: inline-block;
      line-height: 0.5rem;
      vertical-align: top;
    }
  }
</style>
